//
//  TYZRouter+ArrivalService.m
//  wd-serviceapp
//
//  Created by Bin Tang on 2024/8/2.
//

#import "TYZRouter+ArrivalService.h"

NSString * const kWDRouterTarget_ArrivalService  = @"ArrivalService";

//action_rootArrivalService
NSString * const kWDRouterAction_getRootArrivalService = @"rootArrivalService";

// action_rootArrivalServiceItem 到站服务子视图
NSString * const kWDRouterAction_getRootArrivalServiceItem = @"rootArrivalServiceItem";

// action_serviceOrderWaitVehicle 到站服务-工单界面-待接车
NSString * const kWDRouterAction_getServiceOrderWaitVehicle = @"serviceOrderWaitVehicle";

// action_serviceOrderWaitVehDetail 待接车 详情
NSString * const kWDRouterAction_getServiceOrderWaitVehDetail = @"serviceOrderWaitVehDetail";


// action_scanCodeMeetCar 到站服务-工单界面-待接车 - 扫码接车
NSString * const kWDRouterAction_getScanCodeMeetCar = @"scanCodeMeetCar";

// action_serviceCancelWorkOrder 取消工单
NSString * const kWDRouterAction_getServiceCancelWorkOrder = @"serviceCancelWorkOrder";

// action_serviceScanCode 扫码
NSString * const kWDRouterAction_getServiceScanCode = @"serviceScanCode";

// action_serviceWorkOrderDetail 工单详情
NSString * const kWDRouterAction_getServiceWorkOrderDetail = @"serviceWorkOrderDetail";

// action_serviceOrderReviewVehicle 到站服务-工单界面-检查中
NSString * const kWDRouterAction_getServiceOrderReviewVehicle = @"serviceOrderReviewVehicle";

//action_serviceOrderMainVehDetail 到站服务-工单界面-维修中-详情
NSString * const kWDRouterAction_getServiceOrderMainVehDetail = @"serviceOrderMainVehDetail";


// action_serviceOrderMainVehScanCode 到站服务-工单界面-维修中-扫码
NSString * const kWDRouterAction_getServiceOrderMainVehScanCode = @"serviceOrderMainVehScanCode";

// action_serviceOrderReviewVehDetail 到站服务-工单界面-检查中-详情
NSString * const kWDRouterAction_getServiceOrderReviewVehDetail = @"serviceOrderReviewVehDetail";

// action_startMaintainScanCode 到站服务-工单界面-检查中-扫码
NSString * const kWDRouterAction_getStartMaintainScanCode = @"startMaintainScanCode";

// action_serviceOrderMaintenanceVehicle 到站服务-工单界面-维修中
NSString * const kWDRouterAction_getServiceOrderMaintenanceVehicle = @"serviceOrderMaintenanceVehicle";

// action_serviceOrderPendingVehicle 到站服务-工单界面-待报单
NSString * const kWDRouterAction_getServiceOrderPendingVehicle = @"serviceOrderPendingVehicle";

// action_serviceOrderPendingVehDetail 到站服务-工单界面-待报单-详情
NSString * const kWDRouterAction_getServiceOrderPendingVehDetail = @"serviceOrderPendingVehDetail";


// action_inputVinPlateNumber  输入vin码 或 车牌号
NSString * const kWDRouterAction_getInputVinPlateNumber = @"inputVinPlateNumber";



@implementation TYZRouter (ArrivalService)

/// 到站服务根
/// - Parameter params: params description
- (UIViewController *)getRootArrivalServiceVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getRootArrivalService params:params shouldCacheTarget:NO];
}

/// 到站服务子视图
/// - Parameter params: params description
- (UIViewController *)getRootArrivalServiceItemVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getRootArrivalServiceItem params:params shouldCacheTarget:NO];
}

/// 到站服务-工单界面-待接车
/// - Parameter params: params description
- (UIViewController *)getServiceOrderWaitVehicleVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getServiceOrderWaitVehicle params:params shouldCacheTarget:NO];
}

/// 待接车 详情
/// - Parameter params: params description
- (UIViewController *)getServiceOrderWaitVehDetailVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getServiceOrderWaitVehDetail params:params shouldCacheTarget:NO];
}
// action_serviceOrderWaitVehDetail 待接车 详情
//NSString * const kWDRouterAction_getServiceOrderWaitVehDetail = @"serviceOrderWaitVehDetail";

/// 到站服务-工单界面-待接车 - 扫码接车
/// - Parameter params: params description
- (UIViewController *)getScanCodeMeetCarVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getScanCodeMeetCar params:params shouldCacheTarget:NO];
}
// action_scanCodeMeetCar 到站服务-工单界面-待接车 - 扫码接车
//NSString * const kWDRouterAction_getScanCodeMeetCar = @"scanCodeMeetCar";

/// 到站服务-工单界面-取消工单
/// - Parameter params: params description
- (UIViewController *)getServiceCancelWorkOrderVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getServiceCancelWorkOrder params:params shouldCacheTarget:NO];
}

/// 扫码
/// - Parameter params: params description
- (UIViewController *)getServiceScanCodeVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getServiceScanCode params:params shouldCacheTarget:NO];
}

/// 工单详情
/// - Parameter params: params description
- (UIViewController *)getServiceWorkOrderDetailVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getServiceWorkOrderDetail params:params shouldCacheTarget:NO];
}

/// 到站服务-工单界面-检查中
/// - Parameter params: params description
- (UIViewController *)getServiceOrderReviewVehicleVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getServiceOrderReviewVehicle params:params shouldCacheTarget:NO];
}

/// 到站服务-工单界面-检查中-详情
/// - Parameter params: params description
- (UIViewController *)getServiceOrderReviewVehDetailVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getServiceOrderReviewVehDetail params:params shouldCacheTarget:NO];
}

/// 到站服务-工单界面-检查中-扫码
/// - Parameter params: params description
- (UIViewController *)getStartMaintainScanCodeVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getStartMaintainScanCode params:params shouldCacheTarget:NO];
}

/// 到站服务-工单界面-维修中
/// - Parameter params: params description
- (UIViewController *)getServiceOrderMaintenanceVehicleVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getServiceOrderMaintenanceVehicle params:params shouldCacheTarget:NO];
}

/// 到站服务-工单界面-维修中-详情
/// - Parameter params: params description
- (UIViewController *)getServiceOrderMainVehDetailVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getServiceOrderMainVehDetail params:params shouldCacheTarget:NO];
}

/// 到站服务-工单界面-维修中-扫码
/// - Parameter params: params description
- (UIViewController *)getServiceOrderMainVehScanCodeVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getServiceOrderMainVehScanCode params:params shouldCacheTarget:NO];
}

/// 到站服务-工单界面-待报单
/// - Parameter params: params description
- (UIViewController *)getServiceOrderPendingVehicleVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getServiceOrderPendingVehicle params:params shouldCacheTarget:NO];
}

/// 到站服务-工单界面-待报单-详情
/// - Parameter params: params description
- (UIViewController *)getServiceOrderPendingVehDetailVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getServiceOrderPendingVehDetail params:params shouldCacheTarget:NO];
}

/// 输入vin码 或 车牌号
/// - Parameter params: params description
- (UIViewController *)getInputVinPlateNumberVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_ArrivalService action:kWDRouterAction_getInputVinPlateNumber params:params shouldCacheTarget:NO];
}


@end
